package com.ly.fn.core.common.entity;

import javax.persistence.MappedSuperclass;
import java.io.Serializable;
import java.util.Date;

/**
 * Entity基础类
 * Created by wb38113 on 2016/8/16.
 */
@MappedSuperclass
public class BaseEntity implements Serializable {



    /**创建日期*/
    protected Date createTime;
    /**修改日期*/
    protected Date updateTime;
    /**删除标记【0：正常；1：删除】*/
    protected Integer isDelete;


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
